bytes.Buffer.buf (field)

52 uses

	bytes (current package)
		buffer.go#L21: 	buf      []byte // contents are the bytes buf[off : len(buf)]
		buffer.go#L54: func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
		buffer.go#L60: func (b *Buffer) AvailableBuffer() []byte { return b.buf[len(b.buf):] }
		buffer.go#L71: 	return string(b.buf[b.off:])
		buffer.go#L75: func (b *Buffer) empty() bool { return len(b.buf) <= b.off }
		buffer.go#L79: func (b *Buffer) Len() int { return len(b.buf) - b.off }
		buffer.go#L83: func (b *Buffer) Cap() int { return cap(b.buf) }
		buffer.go#L86: func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
		buffer.go#L100: 	b.buf = b.buf[:b.off+n]
		buffer.go#L107: 	b.buf = b.buf[:0]
		buffer.go#L116: 	if l := len(b.buf); n <= cap(b.buf)-l {
		buffer.go#L117: 		b.buf = b.buf[:l+n]
		buffer.go#L136: 	if b.buf == nil && n <= smallBufferSize {
		buffer.go#L137: 		b.buf = make([]byte, n, smallBufferSize)
		buffer.go#L140: 	c := cap(b.buf)
		buffer.go#L146: 		copy(b.buf, b.buf[b.off:])
		buffer.go#L151: 		b.buf = growSlice(b.buf[b.off:], b.off+n)
		buffer.go#L155: 	b.buf = b.buf[:m+n]
		buffer.go#L169: 	b.buf = b.buf[:m]
		buffer.go#L181: 	return copy(b.buf[m:], p), nil
		buffer.go#L193: 	return copy(b.buf[m:], s), nil
		buffer.go#L210: 		b.buf = b.buf[:i]
		buffer.go#L211: 		m, e := r.Read(b.buf[i:cap(b.buf)])
		buffer.go#L216: 		b.buf = b.buf[:i+m]
		buffer.go#L261: 		m, e := w.Write(b.buf[b.off:])
		buffer.go#L291: 	b.buf[m] = c
		buffer.go#L310: 	b.buf = utf8.AppendRune(b.buf[:m], r)
		buffer.go#L311: 	return len(b.buf) - m, nil
		buffer.go#L328: 	n = copy(p, b.buf[b.off:])
		buffer.go#L346: 	data := b.buf[b.off : b.off+n]
		buffer.go#L362: 	c := b.buf[b.off]
		buffer.go#L379: 	c := b.buf[b.off]
		buffer.go#L385: 	r, n := utf8.DecodeRune(b.buf[b.off:])
		buffer.go#L440: 	i := IndexByte(b.buf[b.off:], delim)
		buffer.go#L443: 		end = len(b.buf)
		buffer.go#L446: 	line = b.buf[b.off:end]
		buffer.go#L472: func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} }
		buffer.go#L481: 	return &Buffer{buf: []byte(s)}